package com.example.springboot01.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot01.entity.Score;
import com.example.springboot01.req.PageQueryReq;
import com.example.springboot01.resp.ScoreDTO;
import com.example.springboot01.resp.StudentScoreResp;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface ScoreService extends IService<Score> {
    void addScore(Score score, HttpSession session);

    IPage<ScoreDTO> getPage(PageQueryReq req, HttpSession session);

    StudentScoreResp queryScore();

}
